<layout name='Layout/layout_page' />
	
	<ol class="breadcrumb">
		<li><a href="<{:U('Order/index')}>">订单管理</a></li>
      	<li class="active">订单详情</li>
    </ol>

	<form id="ajaxForm" action="<{:U('Order/update')}>" method="post" class="form-horizontal form-validata">
		<div class="form-group">
            <label class="col-md-1 control-label" for="from">订单编号</label>
            <div class="col-md-11">
                <div class="form-control-static"><{$list['order_no']}></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">商品</label>
            <div class="col-md-11">
                <volist name="shop" id="vo">
				<div class="form-control-static"><{$vo.pname}> 价格：<{$vo.price}> x <{$vo.number}> = <php>echo $vo['price']*$vo['number'];</php></div>
				</volist>
            </div>
        </div> 

        <!--div class="form-group">
            <label class="col-md-1 control-label" for="from">物流信息</label>
            <div class="col-md-11">
                <div class="form-control-static"><{$list['payment']}>，运费：<{$list['paymentMoney']}></div>
            </div>
        </div--> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">应付金额</label>
            <div class="col-md-11">
                <div class="form-control-static"><font color="red"><strong>￥<{$list['money']}></strong></font></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">支付方式</label>
            <div class="col-md-11">
                <div class="form-control-static"><eq name="list['payType']" value="1">支付宝<else/>微信支付</eq></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">收件人</label>
            <div class="col-md-11">
                <div class="form-control-static"><{$list['name']}>，<{$list['mobile']}></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">地址</label>
            <div class="col-md-11">
                <div class="form-control-static"><{$list['address']}></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">客户留言</label>
            <div class="col-md-11">
                <div class="form-control-static"><{$list['intr']}></div>
            </div>
        </div>         

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">支付状态</label>
            <div class="col-md-11">
                <div class="form-control-static"><eq name="list.payStatus" value="0"><font color="red">未支付</font><else/><font color="green">已支付</font></eq></div>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">是否处理</label>
            <div class="col-md-11">
                <label class="checkbox-inline">
					<input type="checkbox" name="status" id="status" value="1" <php>if($list['status']==='1')echo checked;</php>> 已处理
				</label>
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">物流编号</label>
            <div class="col-md-11">
                <input type="text" name="backInfo" class="form-control" value="<{$list['backInfo']}>">
            </div>
        </div> 

        <div class="form-group">
            <label class="col-md-1 control-label" for="from">订单备注</label>
            <div class="col-md-11">
                <textarea name="remark" class="form-control areatext"><{$list['remark']}></textarea>
            </div>
        </div> 

		<div class="form-group">
			<div class="col-md-11 col-sm-offset-1">
				<button type="submit" class="btn btn-info">编辑</button>
			</div>
		</div>
		<input type="hidden" name="id" value="<{$list['id']}>" />
	</form>


<input type="hidden" id="menu_action" value="order" />